package com.youlu.campus.web.community.controller;


import com.youlu.campus.service.commission.UserParticipateDistributorChannelInfoService;
import com.yuelin.infrastructure.quantum.common.QResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserParticipateDistributorChannelController {

    @Autowired
    private UserParticipateDistributorChannelInfoService userParticipateDistributorChannelInfoService;

    @GetMapping("/public/init/user/distributor-channel")
    public QResult initDistributorChannelUser(){
        userParticipateDistributorChannelInfoService.initUserDistributorChannel();
        return QResult.success(null);
    }
}
